package com.weasel.weixin.commons.message.bean;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**回复图片消息
 * Created by Dylan on 2015/10/9.
 */
@XStreamAlias("xml")
public class WeiXinPostCommonXmlAnswerImageMessage extends AbstractWeiXinPostCommonXmlAnswerMessage {

    public WeiXinPostCommonXmlAnswerImageMessage(){
        setMsgType(IMAGE_MESSAGE_TYPE);
    }

    @XStreamAlias("Image")
    private ImageBody image;

    public ImageBody getImage() {
        return image;
    }

    public void setImage(ImageBody image) {
        this.image = image;
    }



    @XStreamAlias("Image")
    public static class ImageBody{

        @XStreamAlias("MediaId")
        private String mediaId;

        public String getMediaId() {
            return mediaId;
        }

        public void setMediaId(String mediaId) {
            this.mediaId = mediaId;
        }
    }
}
